#include <bits/stdc++.h>
using namespace std;

const int N=1e5+9;
int n,cnt,maxr=-1,maxn=-1;
int a[N];
int b[N];
stack<int>s;

bool cmp(int x,int y){
    return x<y;
}

int main(){
    freopen("duel.in","r",stdin);
    freopen("duel.out","w",stdout);
    cin >>n;
    for(int i=1;i<=n;i++){
        cin >>a[i];
        b[a[i]]++;
        maxr=max(a[i],maxr);
    }
    for(int i=1;i<=maxr;i++){
        maxn=max(b[i],maxn);
    }
    cout <<maxn;
    fclose(stdin);
    fclose(stdout);
    return 0;
}
